package com.tomcov.client.place;

import com.google.gwt.place.shared.Place;
import com.google.gwt.place.shared.PlaceTokenizer;

public class SettingsPlace extends Place{
	
	private String SettingsName;

    public SettingsPlace(String token) {
        this.SettingsName = token;
    }

    public String getSettingsName() {
        return SettingsName;
    }


    public static class Tokenizer implements PlaceTokenizer<SettingsPlace> {
        @Override
        public String getToken(SettingsPlace place) {
            return place.getSettingsName();
        }

        @Override
        public SettingsPlace getPlace(String token) {
            return new SettingsPlace(token);
        }
    }

}
